#include "ExampleProcessorProcessor.h"

ExampleProcessorProcessor::ExampleProcessorProcessor()
{
    RedScaling = 1.0;
    GreenScaling = 1.0;
    BlueScaling = 1.0;
}

void ExampleProcessorProcessor::apply()
{
    glPixelTransferf(GL_RED_SCALE, RedScaling);
    glPixelTransferf(GL_GREEN_SCALE, GreenScaling);
    glPixelTransferf(GL_BLUE_SCALE, BlueScaling);
}

void ExampleProcessorProcessor::setRedScaling(float r)
{
    RedScaling = r;
}

void ExampleProcessorProcessor::setGreenScaling(float g)
{
    GreenScaling = g;
}

void ExampleProcessorProcessor::setBlueScaling(float b)
{
    BlueScaling = b;
}

